import os
from pydantic import BaseSettings


class Settings(BaseSettings):
    class Config:
        # 环境变量文件
        env_file = ".env.prod" if os.getenv('PROJECT_ENV') == 'prod' else ".env.dev"

    # 环境配置: dev prod
    project_env: str = "dev"
    # APP_ID
    APP_ID : str = '123456'
    API_KEY: str = 'ddgggd'
    SECRET_KEY: str = 'eeefgdg'
    
    
settings = Settings()
